﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Music_List.aspx.cs" Inherits="Web_Admin_Music_Music_List" %>

<%@ Register src="../ascx/navigation.ascx" tagname="navigation" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>音乐管理</title>
    <link rel="stylesheet" type="text/css" href="../css/common.css" />
    <link rel="stylesheet" type="text/css" href="../css/default.css" />
    <script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="../js/default.js"></script>
</head>
<body>
<form id="form1" runat="server">
<uc1:navigation ID="navigation1" Title="音乐管理" runat="server" />
<div class="adRbox">
    <div id="searchBox" class="searchBox">
        <!-- 搜索条件 -->
        标题：
        <asp:TextBox ID="txtTitle" CssClass="search_itp1" runat="server"></asp:TextBox> 
        <input name="" type="button" value="搜索" class="sbtn" onclick="search();" />
        <input name="" type="button" value="重置" class="sbtn" onclick="search_rest();" />
    </div>
    <div class="arTabBox">
    	<table id="tb_list" width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <th width="50" style="text-align:right;"><input id="chk_all" onclick="select_all(this);" type="checkbox" /></th>
            <th class="cen">会员ID</th>
            <th class="cen">标题</th>
            <th class="cen">类型</th>
            <th class="cen">审核</th>
            <th class="cen">添加时间</th>
            <th class="cen" width="70">操作</th>
          </tr>
        <asp:Repeater ID="rpList" runat="server">
            <ItemTemplate>
             <tr>
                <td style="text-align:right;"><input name="checkboxs" type="checkbox" value="<%# Eval("ID") %>" /></td>
                <td class="cen"><%# Eval("UserID") %></td>
                <td class="cen"><%# Eval("Title") %></td>
                <td class="cen"><%# getClassName(Eval("ClassID"))%></td>
                <td class="cen"><%# getStateImage(Eval("IsPass")) %></td>
                <td class="cen"><%# Eval("AddTime","{0:yyyy-MM-dd HH:mm:ss}") %></td>
                <td class="cen"><a href="Music_Add.aspx?id=<%# Eval("ID") %>">编辑</a></td>
              </tr>
            </ItemTemplate>
        </asp:Repeater>
        </table>                                                                                         
	    <asp:Literal ID="lit_nodata" Visible="false" Text="<div style='text-align:center; margin-top:10px;'>无记录</div>" runat="server"></asp:Literal>
    </div>
    
    <div style="text-align:right; margin-top:10px;">
        <asp:Button ID="But_IsPass" runat="server" Text="审核" CssClass="sbtn" OnClientClick="return check_post();" onclick="But_IsPass_Click" />&nbsp;&nbsp;   
        <asp:Button ID="But_CancelIsPass" runat="server" Text="取消审核" CssClass="sbtn bn1" OnClientClick="return check_post();" onclick="But_CancelIsPass_Click" />&nbsp;&nbsp;
        <asp:Button ID="But_Delete" runat="server" Text="删除" CssClass="sbtn" OnClientClick="return check_post('确定要删除吗？');" onclick="But_Delete_Click" />&nbsp;&nbsp;
        <asp:Button ID="But_Excel" runat="server" Text="导出Excel" CssClass="sbtn bn1" onclick="But_Excel_Click" />
    </div>
    
    <my:aspnetpager class="arPage" PageSize="20" UrlPaging="true" 
            runat="server" ID="pgServer" 
            CustomInfoHTML="共%PageCount%页记录<span>|</span>每页<em>%PageSize%</em>条<span>|</span>当前第<em>%CurrentPageIndex%</em>页" 
            FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" 
            ShowCustomInfoSection="Left" Height="18px" >
    </my:aspnetpager>
    
</div>
<script type="text/javascript">
    jQuery(document).ready(function ($) {
        $(".arTabBox tr:gt(0):odd").css("background", "#F1F1F1");
    });	
</script>
</form>
</body>
</html>

